package oop11.door;

/**
 * @author oldliu
 * @since 1.0
 */
public class Door {
    private String brand;

    public Door(String b) {
        this.brand = b;
    }

    public void open() {
        System.out.println(brand + "被打开了");
    }

    public void close() {
        System.out.println("门关上了");
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }
}
